if(MouseEvent == undefined){
	var MouseEvent = {};
}

var _htc_over_reg = /\bmouseover\b/g;
MouseEvent.onmouseover = function(element){
	 _htc_over_reg.lastIndex = 0;
     if (_htc_over_reg.test(element.className)) 
     	return;
     element.className += " mouseover";
}
MouseEvent.onmouseout = function(element){
	_htc_over_reg.lastIndex = 0;
     if (!_htc_over_reg.test(element.className)) 
     	return;
     element.className = element.className.replace("mouseover","");
}